package org.yate.oa.model;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

/**
 * 任务实体类
 * 
 * @author ZYY
 * 
 */
@Alias(value = "TaskEntity")
public class TaskEntity implements Serializable {
	private Integer id;
	private UserEntity userEntity;
	private String taskType;
	private Date beginDate;
	private Float days;
	private Date endDate;
	private Integer lastApprovalId;
	private Integer nextApprovalId;
	private String status;
	private String remark;
	private Date updateDate;
	private Date creationDate;
	private String leaveType;
	private Integer isKF;

	public TaskEntity() {

	}

	public TaskEntity(UserEntity userEntity, String taskType, Date beginDate, Float days, Date endDate, Integer lastApprovalId, Integer nextApprovalId, String status, String remark, String leaveType,
			Integer isKF) {
		this.userEntity = userEntity;
		this.taskType = taskType;
		this.beginDate = beginDate;
		this.days = days;
		this.endDate = endDate;
		this.lastApprovalId = lastApprovalId;
		this.nextApprovalId = nextApprovalId;
		this.status = status;
		this.remark = remark;
		this.leaveType = leaveType;
		this.isKF = isKF;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserEntity getUserEntity() {
		return userEntity;
	}

	public void setUserEntity(UserEntity userEntity) {
		this.userEntity = userEntity;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Float getDays() {
		return days;
	}

	public void setDays(Float days) {
		this.days = days;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getLastApprovalId() {
		return lastApprovalId;
	}

	public void setLastApprovalId(Integer lastApprovalId) {
		this.lastApprovalId = lastApprovalId;
	}

	public Integer getNextApprovalId() {
		return nextApprovalId;
	}

	public void setNextApprovalId(Integer nextApprovalId) {
		this.nextApprovalId = nextApprovalId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public String getLeaveType() {
		return leaveType;
	}

	public void setLeaveType(String leaveType) {
		this.leaveType = leaveType;
	}

	public Integer getIsKF() {
		return isKF;
	}

	public void setIsKF(Integer isKF) {
		this.isKF = isKF;
	}

}
